home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
001
/
pibt40s4.arc
/
PIBTERM.JMP
< prev
next >
Wrap
Text File
|
1987-09-08
|
9KB
|
200 lines
CONST
ProcOffsets : ARRAY[0..194] OF INTEGER =
(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
PROCEDURE SetupJumpTable;
{-initialize the offsets of the near procedures}
{-for module "MAINMODULE" }
CONST
idstring : BigTurboString = 'SETUPJUMPTABLE FOLLOWS';
BEGIN
ProcOffsets[0] := OFS(Print_Spooled_File);
ProcOffsets[1] := OFS(Update_Status_Line);
ProcOffsets[2] := OFS(Halt);
ProcOffsets[3] := OFS(Set_Text_Attributes);
ProcOffsets[4] := OFS(INT24);
ProcOffsets[5] := OFS(INT24On);
ProcOffsets[6] := OFS(INT24Off);
ProcOffsets[7] := OFS(INT24Result);
ProcOffsets[8] := OFS(IsTimeSharingActive);
ProcOffsets[9] := OFS(TurnOnTimeSharing);
ProcOffsets[10] := OFS(TurnOffTimeSharing);
ProcOffsets[11] := OFS(GiveAwayTime);
ProcOffsets[12] := OFS(Read_Kbd);
ProcOffsets[13] := OFS(Min);
ProcOffsets[14] := OFS(Max);
ProcOffsets[15] := OFS(Dupl);
ProcOffsets[16] := OFS(Substr);
ProcOffsets[17] := OFS(UpperCase);
ProcOffsets[18] := OFS(CopyStoA);
ProcOffsets[19] := OFS(CopyS2AR);
ProcOffsets[20] := OFS(Read_Ctrls);
ProcOffsets[21] := OFS(Write_Ctrls);
ProcOffsets[22] := OFS(GetEnvStr);
ProcOffsets[23] := OFS(DialDateString);
ProcOffsets[24] := OFS(IToS);
ProcOffsets[25] := OFS(TimeOfDay);
ProcOffsets[26] := OFS(TimeDiff);
ProcOffsets[27] := OFS(TimeString);
ProcOffsets[28] := OFS(DateString);
ProcOffsets[29] := OFS(BIOS_RS232_Init);
ProcOffsets[30] := OFS(DOS_Set_Intrpt);
ProcOffsets[31] := OFS(Async_Isr);
ProcOffsets[32] := OFS(Async_Init);
ProcOffsets[33] := OFS(Async_Close);
ProcOffsets[34] := OFS(Async_Line_Error);
ProcOffsets[35] := OFS(MoveFromScreen);
ProcOffsets[36] := OFS(MoveToScreen);
ProcOffsets[37] := OFS(Async_Clear_Errors);
ProcOffsets[38] := OFS(Async_Reset_Port);
ProcOffsets[39] := OFS(Async_Open);
ProcOffsets[40] := OFS(Async_Carrier_Detect);
ProcOffsets[41] := OFS(Async_Carrier_Drop);
ProcOffsets[43] := OFS(Async_Term_Ready);
ProcOffsets[44] := OFS(Async_Buffer_Check);
ProcOffsets[45] := OFS(Async_Receive);
ProcOffsets[46] := OFS(Async_Receive_With_Timeout);
ProcOffsets[47] := OFS(Async_Ring_Detect);
ProcOffsets[48] := OFS(Async_Send);
ProcOffsets[49] := OFS(Async_Send_Break);
ProcOffsets[50] := OFS(Async_Send_String);
ProcOffsets[51] := OFS(Async_Send_String_With_Delays);
ProcOffsets[52] := OFS(Async_Percentage_Used);
ProcOffsets[53] := OFS(Async_Purge_Buffer);
ProcOffsets[54] := OFS(EGA_Installed);
ProcOffsets[55] := OFS(Open_For_Append);
ProcOffsets[56] := OFS(Turbo_Window);
ProcOffsets[57] := OFS(Window);
ProcOffsets[58] := OFS(Color_Screen_Active);
ProcOffsets[59] := OFS(Current_Video_Mode);
ProcOffsets[60] := OFS(Get_Screen_Address);
ProcOffsets[61] := OFS(RvsVideoOn);
ProcOffsets[62] := OFS(RvsVideoOff);
ProcOffsets[63] := OFS(Upper_Left);
ProcOffsets[64] := OFS(Set_Global_Colors);
ProcOffsets[65] := OFS(Reset_Global_Colors);
ProcOffsets[66] := OFS(Get_Screen_Text_Line);
ProcOffsets[67] := OFS(Print_Screen);
ProcOffsets[68] := OFS(Write_Screen);
ProcOffsets[69] := OFS(WriteSXY);
ProcOffsets[70] := OFS(WriteCXY);
ProcOffsets[71] := OFS(Save_Screen);
ProcOffsets[72] := OFS(Restore_Screen);
ProcOffsets[73] := OFS(Clear_Window);
ProcOffsets[74] := OFS(Menu_Set_Explode);
ProcOffsets[75] := OFS(Menu_Set_Beep);
ProcOffsets[76] := OFS(Menu_Set_Box_Chars);
ProcOffsets[77] := OFS(Draw_Menu_Frame);
ProcOffsets[78] := OFS(Menu_Click);
ProcOffsets[79] := OFS(Menu_Beep);
ProcOffsets[80] := OFS(Menu_Turn_On);
ProcOffsets[81] := OFS(Menu_Turn_Off);
ProcOffsets[82] := OFS(Menu_IBMCh);
ProcOffsets[83] := OFS(Menu_Display_Choices);
ProcOffsets[84] := OFS(Menu_Get_Choice);
ProcOffsets[85] := OFS(Convert_AsciiZ_To_String);
ProcOffsets[86] := OFS(Convert_String_To_AsciiZ);
ProcOffsets[87] := OFS(Dir_Get_Current_Path);
ProcOffsets[88] := OFS(Dir_Set_Current_Path);
ProcOffsets[89] := OFS(Dir_Set_Disk_Transfer_Address);
ProcOffsets[90] := OFS(Dir_Set_Default_Drive);
ProcOffsets[91] := OFS(Dir_Get_Default_Drive);
ProcOffsets[92] := OFS(Dir_Delete_File);
ProcOffsets[93] := OFS(Dir_Count_Drives);
ProcOffsets[94] := OFS(Dir_Convert_Time);
ProcOffsets[95] := OFS(Dir_Convert_Date);
ProcOffsets[96] := OFS(Dir_Find_First_File);
ProcOffsets[97] := OFS(Dir_Find_Next_File);
ProcOffsets[98] := OFS(Dir_Get_Free_Space);
ProcOffsets[99] := OFS(Dir_Set_File_Date_And_Time);
ProcOffsets[100] := OFS(Dir_Get_File_Date_And_Time);
ProcOffsets[101] := OFS(Open_File_Handle);
ProcOffsets[102] := OFS(Close_File_Handle);
ProcOffsets[103] := OFS(Read_File_Handle);
ProcOffsets[104] := OFS(Write_File_Handle);
ProcOffsets[105] := OFS(Create_File_Handle);
ProcOffsets[106] := OFS(Trim);
ProcOffsets[107] := OFS(Send_Modem_Command);
ProcOffsets[109] := OFS(Error_Handler);
ProcOffsets[110] := OFS(Set_EGA_Text_Mode);
ProcOffsets[111] := OFS(Async_Flush_Output_Buffer);
ProcOffsets[112] := OFS(InitOvly);
ProcOffsets[113] := OFS(YesNo);
ProcOffsets[114] := OFS(HangUpPhone);
ProcOffsets[115] := OFS( Install_Video_Handler );
ProcOffsets[116] := OFS( Remove_Video_Handler );
ProcOffsets[117] := OFS(MaxBlockAvail);
ProcOffsets[118] := OFS(LTrim);
ProcOffsets[119] := OFS(Set_Translate_Table);
ProcOffsets[120] := OFS(Set_Input_Keys);
ProcOffsets[121] := OFS(Display_Help);
ProcOffsets[123] := OFS(PibFileManipulation);
ProcOffsets[124] := OFS(PibUpLoad);
ProcOffsets[125] := OFS(Send_Ascii_File);
ProcOffsets[126] := OFS(PibDownLoad);
ProcOffsets[127] := OFS(Receive_Ascii_File);
ProcOffsets[128] := OFS(Adjust_Hour);
ProcOffsets[129] := OFS(Write_Log);
ProcOffsets[130] := OFS(GetAreaCode);
ProcOffsets[131] := OFS(Read_Number);
ProcOffsets[132] := OFS(Review_Captured_Text);
ProcOffsets[133] := OFS(Display_Timers);
ProcOffsets[134] := OFS(Do_Screen_Dump);
ProcOffsets[135] := OFS(Get_Capture_File);
ProcOffsets[136] := OFS(Fast_Change_Params);
ProcOffsets[137] := OFS(DosJump);
ProcOffsets[138] := OFS(Make_And_Display_Menu);
ProcOffsets[139] := OFS(Make_A_Menu);
ProcOffsets[142] := OFS(Set_Border_Color);
ProcOffsets[146] := OFS(Terminal_Emulations);
ProcOffsets[147] := OFS(InitTerm);
ProcOffsets[148] := OFS(FiniTerm);
ProcOffsets[153] := OFS(Get_Auto_File_Name) ;
ProcOffsets[158] := OFS(Install_Keyboard_Handler);
ProcOffsets[159] := OFS(Remove_Keyboard_Handler);
ProcOffsets[160] := OFS(Edit_String);
ProcOffsets[161] := OFS(Read_Edited_String);
ProcOffsets[162] := OFS(CursorOn);
ProcOffsets[163] := OFS(CursorOff);
ProcOffsets[164] := OFS(DOS_Set_Intrpt);
ProcOffsets[165] := OFS(DOS_Get_Intrpt);
ProcOffsets[166] := OFS(MyLoadOverlay);
ProcOffsets[167] := OFS(Async_Drain_Output_Buffer);
ProcOffsets[168] := OFS(CursorGet);
ProcOffsets[169] := OFS(CursorSet);
ProcOffsets[170] := OFS(Relative_Position_File_Handle);
ProcOffsets[171] := OFS(Press_Any);
ProcOffsets[173] := OFS(Write_To_Status_Line);
ProcOffsets[174] := OFS(WriteTTY);
ProcOffsets[175] := OFS(Hex_To_Dec);
ProcOffsets[176] := OFS(Dec_To_Hex);
ProcOffsets[177] := OFS(Async_Peek);
ProcOffsets[178] := OFS(Save_Partial_Screen);
ProcOffsets[179] := OFS(Set_Screen_Size);
ProcOffsets[180] := OFS(Get_Screen_Text_Line);
ProcOffsets[181] := OFS(Scroll);
ProcOffsets[182] := OFS(Set_Graphics_Colors);
ProcOffsets[183] := OFS(MoveToXY);
ProcOffsets[184] := OFS(Get_Screen_Size);
ProcOffsets[185] := OFS(Get_Upload_Protocol);
ProcOffsets[186] := OFS(Get_Download_Protocol);
ProcOffsets[187] := OFS(ReadCXY);
ProcOffsets[188] := OFS(CloneCodeSegment);
ProcOffsets[189] := OFS(Press_Any);
ProcOffsets[190] := OFS(Sync_Screen);
ProcOffsets[191] := OFS(Draw_Box);
ProcOffsets[192] := OFS(Write_Graphics_Screen);
ProcOffsets[193] := OFS(Define_Key);
ProcOffsets[194] := OFS(Get_Key_Section);
INLINE($8B/$E5/$5D/$CB); {return to calling segment}
END;